﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TalkBot
{
    class Program
    {
        public void Initialize()
        {
            m_robot = new Robot();
            m_robot.OpenRepository("fileName.txt");
        }

        public void Run()
        {
            while (true)
            {
                string input = Console.ReadLine();
                m_robot.Answer(input);
                if (input == "Exit")
                    break;
            }
        }
        private Robot m_robot;

    }
}
